<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>添加商品</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../../component/elementUI/index.css">
    <link rel="stylesheet" href="../../../style/wangeditor.css">
    <link rel="stylesheet" href="../../../style/index.css">
    <style>
        .el-input.is-disabled .el-input__inner {
            color: #000;
            background-color: #fff;
        }
        .el-descriptions-item__label {
            width:50px;
        }
        input::-webkit-outer-spin-button,input::-webkit-inner-spin-button {
            -webkit-appearance: none;
        }
    </style>
</head>

<body>
    <div id="app" class="minWidth">
        <el-form :model="form" ref="contract" inline-message="true" style="width: 100%">
            <div class="table_titel">
                <div class="titel">商品入库</div>
                <div class="operation">
                    <el-button type="primary" size="small" @click="dialogVisible= true">选择商品</el-button>
                </div>
            </div>
            <el-descriptions :column="5" v-for="(item,index) in form" :key="index" border size="small">
                <el-descriptions-item label="商品名称">
                    <el-form-item prop="Article_Name">
                        <el-input v-model.trim="item.Article_Name" disabled></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="规格名称">
                    <el-form-item prop="Specifications_Name">
                        <el-input v-model.trim="item.Specifications_Name" disabled></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="供应商">
                    <el-form-item prop="Supplier_Name">
                        <el-input v-model.trim="item.Supplier_Name" disabled></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="入库数量">
                    <el-form-item prop="Quantity">
                        <el-input type="number" v-model.trim="item.Quantity"></el-input>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <el-form-item class="form-operation">
                <el-button @click="window.history.back()">返回</el-button>
                <el-button type="primary" :loading="loading" @click="submitUpload(0)">提交</el-button>
            </el-form-item>
        </el-form>
        <yl-goods :visible.sync="dialogVisible" @success="getArticle"></yl-goods>
    </div>
    <script type="text/javascript" src="../../../utils/wangeditor.js"></script>
    <script type="text/javascript" src="../../../utils/jquery.min.js"></script>
    <script type="text/javascript" src="../../../utils/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../utils/vue.min.js"></script>
    <script type="text/javascript" src="../../../utils/vuex.min.js"></script>
    <script type="text/javascript" src="../../../component/elementUI/index.js"></script>
    <script type="text/javascript" src="../../../component/component.js"></script>
    <script type="text/javascript" src="../../../config/config.js"></script>
    <script type="text/javascript" src="../../../utils/compressor.js"></script>
    <script type="text/javascript" src="../../../utils/ID_Validity.js"></script>
    <script type="text/javascript" src="../../../utils/utils.js"></script>
    <script type="text/javascript" src="./js/add.js"></script>
</body>

</html>